<template>
  <div class="dashboard-container">
    <div class="welcome-card">
      <h2>欢迎使用网球场馆预约管理系统</h2>
      <p>选择左侧菜单以管理系统资源</p>
    </div>
  </div>
</template>

<script setup>
// 仪表盘页面逻辑
import { onMounted } from "vue";

onMounted(() => {
  console.log("仪表盘页面已加载");
});
</script>

<style lang="scss" scoped>
.dashboard-container {
  padding: 20px;

  .welcome-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;

    h2 {
      font-size: 24px;
      margin-bottom: 10px;
      color: #303133;
    }

    p {
      color: #606266;
    }
  }

  .stat-cards {
    margin-bottom: 20px;

    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .card-value {
      text-align: center;

      .value {
        font-size: 28px;
        font-weight: bold;
        color: #409eff;
        display: block;
        margin-bottom: 5px;
      }

      .label {
        font-size: 14px;
        color: #909399;
      }
    }
  }
}
</style>
